/**
 * 
 */
package fr.fermeManager.library.dao;

import java.util.List;

import fr.fermeManager.library.model.beans.TypeTransaction;

/**
 * @author Mo
 *
 */
public interface DaoTypeTransaction {

	List<TypeTransaction> getListeTypesTransactions(int idFerme,boolean isAdmin) throws Exception;

	TypeTransaction ajouterTypeTransaction(int idFerme,TypeTransaction nouveauTypeTransac) throws Exception;

	void modifierTypeTransaction(TypeTransaction typeTransactionSelectionnee) throws Exception;
	
	void supprimerTypeTransaction(int idTypeTransaction) throws Exception;
	
	boolean existeTypeTransactionsActifsForFerme(int idFerme) throws Exception;
}
